package org.jspar.partition;

import org.jspar.Options;

public abstract class PartitionRule {
	
	public static final int DUMMY = 0;
	
	public static final int SIZE_BASE = 1;

	public static final int RENT_LIKE = 2;

	public static final int SLOPE_BASE = 3;

	public static final int SLOPE_RATIO = 4;

	protected Options configuration;

	public PartitionRule(Options options) {
		this.configuration = options;
	}

	public abstract boolean isAcceptable(Cluster ci, Cluster cj, int c);
}
